package com.bestdreamer.thread_safe;

import com.bestdreamer.thread_safe.singleton_1.MyObject;

public class MyObject5 {

    private static MyObject5 instance = null;

    private MyObject5(){}

    static{
        instance = new MyObject5();
    }

    public static MyObject5 getInstance(){
        return instance;
    }

}
